﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Mvc.Ajax;

namespace SurveyHost.Controllers
{
    public class QuestionsController : BaseController
    {
        [AcceptVerbs(HttpVerbs.Get)]
        public ActionResult Index()
        {
            return View("Index");
        }

        [AcceptVerbs(HttpVerbs.Post)]
        public ActionResult Index(Guid id)
        {
            return RedirectToAction("Details", new { id = id });
        }

        [AcceptVerbs(HttpVerbs.Get)]
        public ActionResult Details(Guid id)
        {
            return View("Index");
        }

    }
}
